# !/usr/bin/env python3
# -*- coding: utf-8 -*-
# @Time    : 2022/9/1
# @Author  : moe@miku39.fun
# @File    : setup.py
# @Software: PyCharm

import os.path

from setuptools import find_packages, setup

from bili import __version__

this_directory = os.path.abspath(os.path.dirname(__file__))


with open(os.path.join(this_directory, "README.md"), mode="r", encoding="utf-8") as f:
    long_description = f.read()

with open(
    os.path.join(this_directory, "requirements.txt"), mode="r", encoding="utf-8"
) as r:
    install_requires = [i.strip() for i in r]

setup(
    name="bili",
    version=__version__,
    keywords=["bili", "download"],
    url="https://github.com/Mashiro2000",
    license="MIT License",
    author="Mashiro2000",
    author_email="moe@miku39.fun",
    description="哔哩哔哩视频下崽器",
    long_description=long_description,
    long_description_content_type="text/markdown",
    packages=find_packages(include=["bili", "bili.*"]),
    include_package_data=True,
    python_requires=">=3.8.0",
    install_requires=install_requires,
    classifiers=[
        'Development Status :: 4 - Beta"',
        "Intended Audience :: biliUser",
        "Topic :: Software Development :: Download Tools",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: Implementation :: CPython",
    ],
    entry_points={"console_scripts": ["bili = bili.__main__:main"]},
)
